﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="sheetCosutmsNoInput.aspx.cs" Inherits="WEB.sheetInfo.sheetCosutmsNoInput" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <base target="_self" />
    <link rel="stylesheet" href="../images/skin.css" />
    <script>
        function AddValue() {
            var res = document.getElementById("tbRes").value;
            if (window.opener != undefined) {
                //for chrome
                window.opener.returnValue = res;
            }
            else {
                window.returnValue = res;
            }
            window.close();
        }
        </script>
</head>
<body>
    <form id="form1" runat="server">
    <div style="margin:20px; padding:20px">
                 报关单号：
                <asp:Panel ID="panelAdd" runat="server">
                
                <table style="width: 100%;">
                    <tr>
                        <td>
                            <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            <asp:TextBox ID="TextBox4" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="TextBox5" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            <asp:TextBox ID="TextBox6" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            <asp:TextBox ID="TextBox7" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            <asp:TextBox ID="TextBox8" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="TextBox9" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            <asp:TextBox ID="TextBox10" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            <asp:TextBox ID="TextBox11" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            <asp:TextBox ID="TextBox12" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                </table>
                </asp:Panel>
                 
                 <br />
                <asp:TextBox ID="tbRes" runat="server" BorderStyle="None" 
                     TextMode="MultiLine" Width="890px"></asp:TextBox>
                 <br />

                &nbsp;<asp:Button ID="btnAddText" 
                     runat="server" CssClass="Submit_yellowbig" 
                     Text="添 加" onclick="btnAdd_Click" />
                &nbsp;<input  type="button" value="确定" onclick="AddValue();" class="Submit_yellowbig"/>
                &nbsp;</div>
    </form>
</body>
</html>
